package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface StockMapper {
    void saveDamageList(@Param("damageList") DamageList damageList);

    void saveDamageListGoodsStr(@Param("list") List<DamageListGoods> damageListGoodsStr);

    DamageList getDamageListByDamageNumber(@Param("damageNumber") String damageNumber);

    void saveOverflowList(@Param("overflowList") OverflowList overflowList);

    OverflowList getOverflowListByOverflowNumber(@Param("overflowNumber")String overflowNumber);

    void saveOverflowListGoods(@Param("list") List<OverflowListGoods> list);

    List<Goods> listAlarm();

    List<DamageList> damageListGoodsList(@Param("sTime") String start, @Param("eTime") String end);

    List<DamageListGoods> damageGoodsList(@Param("damageListId") Integer damageListId);

    List<OverflowList> overflowList(@Param("sTime")String sTime, @Param("eTime")String eTime);

    List<OverflowListGoods> overflowListGoodsList(@Param("overflowListId") Integer overflowListId);
}
